  <div class="footer">
    <span style="font-weight:bold;"> &nbsp; &nbsp; www.<span style="color:#22a;">J</span><span style="color:orange;">Z</span><span style="color:#eb0;">T</span><span style="color:green;">Z</span><span style="color:#a22;">P</span>.com </span> &copy; <span style="font-size:88%;">豫ICP备10022612号 &nbsp; <a href="/advice.php">给站长留言</a></span> 
  </div>
<script type="text/javascript">
function GoSearch(node) {
  var txt = $('input.search-word', node.parent()).val();
  var url = 'http://www.jztzp.com/search?q=' + encodeURIComponent(txt) + '&s=1&c=10';

  if ($('input[name=sort_by_time]', node.parent()).attr('checked')) {
    url += '&t=1';
  } else {
    url += '&t=0';
  }
  window.location = url;
}
$('.search-word').focus(
    function() {
      var o = $(this);
      if (o.hasClass('inactive')) {
        o.val('');
        o.removeClass('inactive');
      }
    })
  .blur(
    function() {
      var o = $(this);
      if (!o.val() || o.val().length <= 0) {
        o.addClass('inactive');
        o.val('输入贵州茅台、巴菲特等');
      }
    });

$('.search-btn').click(
  function() {
    GoSearch($(this));
  }
);

$('.search-word').keyup(
  function(event) {
    if(event.keyCode == 13) {
      GoSearch($(this));
    }
  }
);
</script>
<script type="text/javascript">
$(document).ready(function(){
  var sort_ck = $('input[name=sort_by_time]');
  if (typeof sort_ck != 'undefined') {
    sort_ck.attr('checked', <?php printf("%d", $sort_by_time ? 1 : 0) ?>);
  }

  if ($.browser.msie && $.browser.version <= "6.0") {
    return;
  }

  if ($(window).scrollTop() > 100) {
	  $('#back-top').fadeIn();
  }
	
	// fade in #back-top
	$(function () {
		$(window).scroll(function () {
			if ($(this).scrollTop() > 100) {
				$('#back-top').fadeIn();
			} else {
				$('#back-top').fadeOut();
			}
		});

		// scroll body to 0px on click
		$('#back-top a').click(function () {
			$('body,html').animate({
				scrollTop: 0
			}, 500);
			return false;
		});
	});
});
</script>
</body>
</html>
